<template>
  <div class="q-pa-md">
    <div class="q-gutter-sm">
      <t-badge color="teal"> Model: {{ model }} </t-badge>
      <t-badge color="purple" text-color="white">
        Mask: hh[h and ]mm[ minutes (]A)
      </t-badge>
    </div>

    <div class="q-mt-sm">
      <t-time v-model="model" mask="hh[h and ]mm[ minutes (]A)" />
    </div>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        model: ref('10h and 20 minutes (AM)'),
      };
    },
  };
</script>
